from Quoridor_game import WHITE, BLACK, QuoridorState
from game_runner import GameRunner
from time import clock


from agent import SelectiveAlphaBetaAgent
from Quoridor_example import DummyAgent

agents = {}
agents[WHITE] = SelectiveAlphaBetaAgent()
agents[BLACK] = DummyAgent()

q_state = QuoridorState(2)
print 'Initial q_state: \n'
print str(q_state) + '\n' 
start = clock()
winner = GameRunner(q_state, agents, 15, 1).run()
game_runtime = clock() - start
print 'Winner:', winner
print 'Game runtime: ', game_runtime 